package cn.zhaoyuening.crm.service;

import java.util.List;

import cn.zhaoyuening.crm.domain.CrmDepartment;
import cn.zhaoyuening.crm.domain.CrmPost;
import cn.zhaoyuening.crm.domain.CrmStaff;

public interface PostService {
	
	/**
	 * 
	 * @return 对应CrmDepartment的所有post集合
 	 */
	public List<CrmPost> findAll(CrmDepartment department);
	
	/**
	 * 通过id返回该post实例
	 * @param id 要查询post id
	 * @return post实例  失败返回null
	 */
	public CrmPost findById(String id);
}
